#!/usr/bin/env python3
# -*- coding: utf-8 -*-

""" 文件描述内容 """

__auther__ = 'igofishing'


import math
import matplotlib.pyplot as plt
import numpy as np

x = np.linspace(-10, 10, 50)

y1 = 2**x + 1

y2 = x**3

plt.figure(2)
plt.plot(x, y1, color='green', linestyle='--')


plt.figure(4)
plt.plot(x, y2)
plt.plot(x, y1, color="red", linestyle="--", linewidth=1.2)

plt.show()
